package com.example.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName out_store
 */
@Data
public class OutStore implements Serializable {
    private Integer outsId;

    private Integer productId;

    private Integer storeId;

    private Integer tallyId;

    private BigDecimal outPrice;

    private Integer outNum;

    private Integer createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String isOut;

    // -------------- 扩展属性 -------------------
    private String storeName; // 视图属性-仓库名称
    private String productName; // 视图属性-商品名称
    private String userCode; // 视图属性-创建者代码
    private String tallyCode; // 视图属性-理货员
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime; // 视图属性-开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime; // 视图属性-结束时间

    private static final long serialVersionUID = 1L;
}
